December 05, 2019
중앙 정렬
// 1
.flex_container {
display: flex;
align-items: center;
justify-content: center;
}
//2
.flex_container {
display: flex;
}
.flex_item {
margin: auto;
}화면 중앙 정렬
.container {
width: 100%;
height: 100%;
}
.inner {
margin: 0 auto;
position: relative;
top: 50%;
transform: translateY(-50%);
}ERROR in Unexpected token < in JSON at position 1620
git pull을 하는 시점에 conflict 난 부분을 수정하지 않으면 주석처리 되어있는 코드가 있을 수 있다. JSON파일 안에 주석처리가 되어있으면 컴파일하는 과정에서 잡아내지 못한다.